package io.xuan.modules.app.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.xuan.modules.app.entity.CarInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.*;

@Mapper
public interface CarInfoDao extends BaseMapper<CarInfoEntity> {
    List<CarInfoEntity> search(@Param("lineId") Integer lid);

    List<Map<String, Object>> getCarLocationsByLineId(@Param("lineId") Integer lid);

    void updateCarLocation(Map<String, String> paramMap);

    CarInfoEntity getCarInfo(int driver_id);
}
